package com.xin.mmall.enums;

import lombok.Getter;

@Getter
public enum  ResultEnum {
    STOCK_ERROR(1,"库存不足");
    private final Integer code;
    private final String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
